Added a way to combine the WAIT and LISTEN commands