add quorum callbacks
add a check for MRI Ruby thread stack size