Trustin, The expiry thread in ExpiringMap needs to be set as daemon, otherwise MINA keeps running for no reason. Oops! There may be some other thread issues, but I see you already have some TODOs marked to look into things. Let me know if there's anything I can do to help. -Greg