Refactor timeout method into rspec setup and assertion methods
Add missing YARD docs
Replace custom error class with standard timeout error
Update flog threshold