added fix for server in use error