Code for async tasks added. This to support GW list from server.