minor refactoring, use finally instead of complicated except
minor refactoring, use finally instead of complicated except

mfussenegger/jedi,WoLpH/jedi,mfussenegger/jedi,dwillmer/jedi,flurischt/jedi,jonashaag/jedi,flurischt/jedi,WoLpH/jedi,tjwei/jedi,jonashaag/jedi,tjwei/jedi,dwillmer/jedi