[bugfix] [doc] Timed locks actually return ETIMEDOUT

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>
Catch SIGSEGV too

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>