and the timeout check should be configurable through options