Added proper timed waits on input wait to ensure that cpu load is normal