Improved reliability of USB config interface (port from V5 branch)