He gets into the habit of thinking so passionately at night...
He gets into the habit of thinking so passionately at night that he begins to be persecuted by insomnia.
He gets into the habit of thinking so passionately at night that he begins to be persecuted by insomnia.