I once had this problem on a ZX-9R, long time ago. It was the temperature sensor, wich shuts up the engine to prevent overheating. Was not much fun in the city, at the moment the standart temperature was shown on the dash "bang engine out", and only starts again when the engine was cold enough.