mongo-sync: do not call reconnect recursively

Signed-off-by: Budai Laszlo <lbudai@balabit.hu>