As I was suggested to use Lazy initialization for the static variable, i did the same and it worked flawlessly, I didn't even had to update testcases. Thanks a lot!
private static BlobServiceClient BLOB_SERVICE_CLIENT;
public static BlobServiceClient getBlobServiceClient() {
if(BLOB_SERVICE_CLIENT == null){
BLOB_SERVICE_CLIENT = new BlobServiceClientBuilder()
.connectionString(CONNECTION_STRING)
.buildClient();
}
return BLOB_SERVICE_CLIENT;
}