connect thread to read_data, it SHOULD work. But actually when it reads from disk it freezes, no way around it