I fixed a bug that was caching db connections even if configuration was changed at runtime.