Change timeout from 0.5 seconds to 0.25 seconds.

Also, whitespace changes and bump gem version.