It would appear that your filter is causing the hang, but to verify that you could take at thread dump and look at the resulting stack traces. On taking a thread dump, see
i've done it and the problem was the filter.
Thank you very much!!!