Use a deadline from the calling process

Closes #21.
Release 1.0.1