use finally instead of except
Merge pull request #73 from dimagi/finally

use finally instead of except