adding keepWaiting option to messages.