Revert "Make sure 'cloud-env' won't crash server."

This reverts commit db318698d7eb3cf7d7406abe3e8bd8b568104bbd.