check milliseconds for deadline
Merge pull request #72 from faizkhan00/fix-deadline

check milliseconds for deadline