Update RestService.as

Fixed issue where queued requests are discarded if the server can not be reached