Invoke callback in startServer
only invoke server callback when supplied