handler on asynctask in MyActivity and organized ImgurUploadTask.java
thread sleep to wait for internet connection