Add a timeout when joining the gluster upload thread.

join the gluster_util 30 secs.