make sure socket is only stored on success (even with subsuqent changes of the code)
make sure socket is only stored on success (even with subsuqent changes of the code)

CESNET/canl-c,ellert/canl-c,CESNET/canl-c,ellert/canl-c