How to call free function inside use block

I am using use block to cleanup JDBC Statements properly. But inside, I get syntax error trying to call a free function. Is there a syntax to do this?

Can you post some code from where you’re getting the error?