Call source.close

I’ve put ‘call source.close’ at end of DB.PostOpen event in a database from mail template. It doesn’t work,no error message, nothing happens.