fixed select timeout by re-adding the ros.sleep function