Moved rescue shell invocation.