Does this fix the crash on DB2? - see https://www.ruby-forum.com/topic/4446836