Rewritten Input.Run() function.
UCB's wait_semaphore default value is now 0 (as if the card is not
present)