Fixed freezes on Linux

changed self.experiment.sleep() calls to time.sleep() as the latter
appear not to mess up multithreading