added check for server startup