Use clear_active_connections! instead of with_connection

with_connection only clears a single connection. If any additional
connections are created or used by a thread, they won't be cleared.
Instead, use clear_active_connections! in an after filter, which is what
Rails does after requests.
Bump version to 3.1.0.alpha2