New multithread conception. Thread is splept and waked. Haven't tested yet.