tcp:shutdown() was checking for group instead of class.