Fixing initialization of failsafe in connection (avoiding memoryleaks and jump on uninitialized values)
Making valgrind Happy