Fix attachment downloading

Fix issue where an attachment will only be downloaded once per
program instance not per class instance. This was caused by using
dispatch_once which should only be used for singleton set up