CHANGES
1. Removed reference to self for connectors and workers queues, added queues and threads objects explicit deletion at the end.
2. Instead of dead pill, connectors and threads use event object to signal stop.
3. Instead of counting execution time, implemented threading.Timer for task_timeout
4. Moved worker and connector threads functions to global space, presumably making code cleaner and easier to follow.
BUGS
1. ResultSerialiser returning exception object on error, resulting in failure to pickle it and causing process to crash, changed to return host result instead
as it generally contains error information
FEATURES
1. Added HostsKeepalive function to run hosts' connections keep-alive checks
2. Added docs - https://nornir-salt.readthedocs.io/en/latest/