Revert "Moved the opening of the port in the attach function so that subdevice is fully initialized when they opens"

Following discussion on gitHub, this seems not to be the right solution
This reverts commit 6a8be3d9d0be32b7b152dd4798c4038ee6bf9060.