Added Timeout error to the "wait" function

#82

Exiting the infinite loop

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment