Check out [`erlang:spawn_monitor/3`](http://erldocs.com/current/erts/erlang.html?i=1&search=spawn_moni#spawn_monitor/3)