Prevent a server crash if an error occurs.

When an error occurs in the main goroutine, the whole proxy will crash :) 
Ex: Too many open files error