Fix error message when locking fails.
Fix possible deadlock on fragment reassembly.
Fix possible deadlock on fragment reassembly.