Check if flight or flight.info is not nil. Without this check a panic then subsequent deadlock can occur