reconnect on connection error and retry operation
add decorator in function using mongodb
correct logging message
wait between retries, make wait period longer and longer as time passes
wait 1 second after all
Merge pull request #2 from Parsely/reconnect-after-connection-error

Reconnect after connection error