Ensure the connection is not null before using it.
Ensure the connection is not null before using it.


Former-commit-id: 9905db664526c07547600e361ef81205eef68cf8 [formerly 9905db664526c07547600e361ef81205eef68cf8 [formerly c89249c13b833233d008dc351f6205fdecbe614c]]
Former-commit-id: 9411b8857fb0817ec655ee5a89559648c2d51267
Former-commit-id: a9b561afa7c2cdd5558bac3adade7d9ff2735d32
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine