Clear state after disconnect