Added timeout support

The manager process takes care for all the workers, jobs and their timeouts