Use level trigger instead of edge trigger