make exception handling better with continuewith