less sleep in main loop