made handler delay configurable