Tap fixing

* Typo in closeEnough()
* Throw the sleeping into a thread, otherwise everything waits without
  reason.