check milliseconds for deadline