The GeoJSON handler queries the database when it's initialized, if an exception occurs, it's likely we don't handle it correctly and get into a bad state. Make sure the connection is broken, and that everything else works well.
Thanks @vonzshik for spotting this.