Resolved sever crashes on client close.