Maps deadlock detection to proper status code in transactional endpoint. Fixes #1922
Merge pull request #1925 from jakewins/kernel-deadlock

Deadlock status code