SERVER-13177 mongooplog - Checking return value of connect. Proceed only if connected.

Closes #715

Signed-off-by: Benety Goh <benety@mongodb.com>