ensure passed in secods is an integer

This library does not work if the passed in value is a float, so best to coerce it to an integer.