Work around with with setTimeOut to sut down the server