add SendHttpPost.join timeout and sleep 10 ms in connectedThread loop