do idle in the server goroutine instead of the timeout goroutine