FIX: segfaultf when clients quit