Forced DB GC:s should be done before creating a lot of garbage, not after
Don't take down HTTP(S) server on connection errors (fixes #700)