My first WTF in Erlang. Does not restart when needed.