try to use `AbstractRestResponseActionListener` instead of `ActionListener` the `onFailure` method is already implemented there