Issue #25. Detect deadlocks and raise if detected during select.