fixed race condition to ensure entrance listeners close properly.

Entrance listeners should be closed when the group is closed and all
currently running processes have already been invoked.

Signed-off-by: Ted Young <tyoung@pivotallabs.com>