Blocking infinite loop like
prevents the worker from responding to anything. At the moment these situations are handled by killing the whole worker. If these loops could be asyncified (like input() already is) or interrupted by some other means, timeouting could be implemented within the worker itself.