return 0 from serveConnection even after exceptions