Added cancellation of LR execution functionality

@lukechurch
Please remove the following thread Join method call.