F1 to H1B Cap gap isssues was resolved after new rule was implemented last year. So, if H!B visa is under process, then you can continue working even thought you have gap between OPT and H1B visa...