remove possible race condition an unnecessary docker attach command