add an optional `timeout` duration to actions to fix #9