Work with threads in process. Deadlock now.