use the application supervisor to restart the router on error