select call takes more time than the given timeout