handle sigint in peek

Change-Id: I5d86d8835e2a4f9bb00716d5eb9ac1ea1eb3a8c1