Add a async task to perform the socket operation