improve check_process() in start_test_stop

1 second delay is not always enough