Not in the current 5.2 version no, this would be a feature request - please feel free to submit it :). For now you could have a small bit of code that registers for the session disconnect notification and that does the action you require (see WTSRegisterSessionNotification function), or you could instead try and fit it in so that it is tidied up on the next reconnect action before anything else.
Mike