Clear panel ports on disconnect
(Fixes 'Attempting to use a disconnected port object' error on background page)