You can discuss with your Boss and postpone your pay check as late as possible until you find job and transfer your H1-B sucessfully