Cancelled effects on players who disconnect.

Also condensed some code into one method.