Added TimedOutError Exception class to wait_for