changed delay to use a float instead of int

This patch just changes the delay parameter to use a float instead of int so that fractional second delays can be tested.

The underlying gevent.sleep accepts floats:  http://www.gevent.org/gevent.html#gevent.sleep