Improve Queue deadlock prevention
Prevent deadlocks with barriers
Remove smart deadlock detection, implement working readers/writers test