make recv_exit_status respect timeout value