Fixed issue in AsyncTask where it would wait indefinetly for a tast that
has already compleated.