make replacement and stopping of Server optional