added timeout between attach and mount and removed unused imports