- Check task is null and then set it was wrongly not made as thread safe, changing it to be wrapped inside AtomicReference. - This relates to #76 and hopefully fixes #96
- Check task is null and then set it was wrongly not made as thread safe, changing it to be wrapped inside AtomicReference. - This relates to #76 and hopefully fixes #96