I'm working for Company A who filed my H1B. Now I'm on project working at a client's place thru sub-contracting by Company B. I have completed 8 months and have pay slips. Can I leave company A and join Client as a full time employee? Is there any legal issues?