You should try to catch a more specific exception here.