If you top, you should wait at LEAST 2 weeks, preferably 3, before flowering. Yield will suffer as the plant struggles to recover and start new upward growth.