On the time to ruin for Erlang(2) risk processes