Proper way of making tasks read-only
Added a synchronized block to all Giaf imports. Fixes #1