Fixed performance of client with glutTimerFunc()