Added param to explicitly set path to config file.
Removed call to close server.