Disconnecting Learning Environment on Loops