set +e for error handling functions to allow set -e in standard code for exact
errors catching.