Cleanup permissions and disconnect sequences