Added port to configuration file to be used by background processes
Repositioned the wait point for thread sleep in background process to allow for server start