error handling when server don't start