We don't save anything by calling `doCloseConnection` on postStop because its parameters would have to be transported to postStop as well. So, I'll just introduce a field.