quit command

Complete the  quit command. But there is an issue about the
multithread. If we assing a thread to handle request from neighbor, the
handler for user request will be blocked.