A pilot is cleaning a window of the airplane .