THRIFT-493. java: Stopping TNonblockingServer when it hasn't been starting results in an exception Check if the server is null before trying to stop.