Make sure we exit process_commands() routine once there is no more
commands to process.