polishing PSP_SET_EXIT & disconnect routine