I am in almost similar situation. Before I left US, I took a re-entry permit, got a job in a firm that's based in US, but my job offer was in B'lore, I have travelled few times to US on work to our US branch, have always ensured that I was in the US before 6 months expired so on and so forth...