No need to import sleep here
Clean up _read function