Pass data race test except stopping server gracefully