cliEngine: add resource produced by listener to-be-removed after test