allow configurable kill time

/cc @gchomatas