add 'exit 6' inside the rescue block