fixing issue with wait where it would not return false but instead throw an error
0.1.4