Remove tls setup as it was extracted to reusable function