Structure of $\ce{SO3}$ (sulfur trioxide):

In the molecule, if each oxygen atom shares two electrons with sulfur atom then how does the sulfur atom remain stable? It already has 6 valence electrons and needs only 2 more to become stable but the oxygen atoms share total of 6 electrons with sulfur atom. So how is the molecule stable?