add gluda exit callback support