Run setObject on background thread

Fix issue stated in https://github.com/Dimillian/SwiftHN/issues/19 comment