$G(s)=\frac{K}{s(s+2)(s^2+2s+2)}$
is connected in a negative feedback configuration with a feedback gain of unity. For the closed loop system to be marginally stable, the value of $K$ is ______