for systems with a broken select use u_sleep() to ensure the write