Don't create a None value if the function raise an exception
Overhaul trying to speedup