Hotfix, added a sleep to prevent unnecessary cpu load