Make sure the previous command has ended before executing a new command. This also fixes the execution block that was caused by the tailing the command output of action commands. Fixes jaagr/lemonbuddy#131