Make client close on receiving \0