fix reference counting of USB contexts