[select] Don't hang when timeout < now
[select] Don't hang when timeout < now

Change-Id: I5395d4f1103a2c9187ce04fce8fce1de2125987a
Reviewed-on: http://review.couchbase.org/27986
Reviewed-by: Sergey Avseyev <87f6d5e4fd3644c3c20800cde7fd3ad1569370b3@gmail.com>
Tested-by: Mark Nunberg <e7d42768707bf23038325b0b68d4b577e5f6064a@haskalah.org>

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