Release connections from pool after using up/down

When running "mygrate up" or "mygrate down" on more than 10 files,
mygrate hangs. This is due to the pg default pool size being 10, and the
up/down commands not releasing the connection. 

This update calls release on those up/down connections to prevent that issue.