remove sleep from prime_number method