closes #40

a problem with MongoDB 'multi' insertion statements prevented pilot.cancel() to work properly. This is fixed now and an appropriate unit test has been added.