make the server hit optional, for testing
cleanup