Disconnect databases before forking

Each child needs to find it's own connections