floor delay used with setTimeout

avoiding issue https://github.com/joyent/node/issues/8065