Cleanup instagram timeout and state handling