I've had the "you must be connected..." symptom when I was working on logging users out from phpBB and making that apply to chat as well. If the "user" was blown away from the chat metadata but they still had session state, that could confuse pfc when they reconnected, or the subtle variant where they had "logged out" on one machine, then logged in and tried to connect from another machine. Your root cause may be different, so apologies if this doesn't help in your case....but that's what it was for me.
In answer to the earlier question, see removeObsoleteNick($timeout) in pfccontainer.class.php. This seems to be the routine that periodically cleans up users inactive beyond the configured timeout.