Add timeout to server start stop event