Optimize handling of joins/parts/quits