Create a method UploadAttachment with a Timeout parameter