Task manager in Erlang.