rpc error code = 13 desc = transport is closing (AWS + Docker)

I’m using AWS clouformation to build instances with Dockers v1.13.1. Today i set CF to build 10 instances (9 built, 1 failed).

In the one that failed this error appeared: rpc error code = 13 desc = transport is closing

This one line with the error is the only difference in the logs between a failed and successful build.

What does this error mean? I seen it may be a memory issue but the other 9 instances built successfully.

All instances have the same storage + RAM
All started at the same time
Any help is much appreciated.