adding a 2 seconds sleep to the uploading process