Add pause action.

Fixes #10.