added control command for terminating server