SpringSource/spring-integration — pull request #429 by garyrussell (2012-05-08 19:29:51+00:00)
Title: INT-2519 Fix Memory Leak 2.0.x Backport 

Depending on timing, it was possible the event the test
case was waiting for would never happen. With no timeout
the selector will block until the next IO event occurs,
and there is none in this test.

Adding a call to factory.close() forces a wakeup of
the selector, which will force the harvest to occur.

This is a test-only problem.