Add return to ec2 handler.