WFLY-2328 removing listeners does not work peroperly