Fix potential resource leak in SslHandler (part 2)

- Fix a non-sense check