Rename asyncdispatch.close to asyncdispatch.closeSocket.