Select: Don't call select() if there are only timers
Select: Don't call select() if there are only timers

We can sleep manually and wait for them to expire. Otherwise we get a
SOCKET_ERROR on win32 which quits the event loop

Change-Id: I71fa090662cf7e22bfd1f26d77fa0272e6a3cf1f
Reviewed-on: http://review.couchbase.org/31741
Reviewed-by: Brett Lawson <c8c4369773d7d7226e031f0c4af62e3f38a08510@gmail.com>
Tested-by: Mark Nunberg <e7d42768707bf23038325b0b68d4b577e5f6064a@haskalah.org>

maxim-ky/libcouchbase,mody/libcouchbase,uvenum/libcouchbase,signmotion/libcouchbase,avsej/libcouchbase,couchbase/libcouchbase,mnunberg/libcouchbase,kojiromike/libcouchbase,senthilkumaranb/libcouchbase,signmotion/libcouchbase,senthilkumaranb/libcouchbase,signmotion/libcouchbase,maxim-ky/libcouchbase,uvenum/libcouchbase,uvenum/libcouchbase,mnunberg/libcouchbase,couchbase/libcouchbase,couchbase/libcouchbase,senthilkumaranb/libcouchbase,signmotion/libcouchbase,avsej/libcouchbase,PureSwift/libcouchbase,maxim-ky/libcouchbase,kojiromike/libcouchbase,couchbase/libcouchbase,avsej/libcouchbase,maxim-ky/libcouchbase,mnunberg/libcouchbase,kojiromike/libcouchbase,mnunberg/libcouchbase,couchbase/libcouchbase,avsej/libcouchbase,avsej/libcouchbase,mody/libcouchbase,avsej/libcouchbase,avsej/libcouchbase,mnunberg/libcouchbase,kojiromike/libcouchbase,PureSwift/libcouchbase,couchbase/libcouchbase,uvenum/libcouchbase,uvenum/libcouchbase,mody/libcouchbase,PureSwift/libcouchbase,couchbase/libcouchbase,senthilkumaranb/libcouchbase,PureSwift/libcouchbase,mody/libcouchbase