Positioning a close button for a tab

I've got a tab list where I have a menu and a tab close button. I've positioned the close button as shown in the image.

mockup

download bmml source – Wireframes created with Balsamiq Mockups

Is this a good practice? Or else what is the optimum way of positioning such a button in a tab view. Please note that there is a hidden menu indicated using the three dot inside that tab button. Any suggestions on this?