Check if flight or flight.info is not nil. Without this check a panic then subsequent deadlock can occur
Merge pull request #179 from ChannelMeter/fix-batch-deadlock-nil-access

executeBatch can cause a dead lock to a nil deref causing c.prepMu not to be unlocked.
Merge pull request #182 from relops/contributions

Document process of reviewing and accepting pull requests