Fixed freezes on Linux

changed self.experiment.sleep() calls to time.sleep() as the latter
appear not to mess up multithreading.

Please let me know if this also works on your system!