fixed server sleep