Rescue StandardError instead of Exception so things like interrupts continue to work.

I lack the historical context for the original rescue clauses (dating back to 2009) and don't know if there was a store implementation that would raise an exception that didn't descend from StandardError.  But swallowing all exceptions can lead to some unexpected behavior, especially in a multi-threaded environment.