Remove obsolete TODO comment

cancel test was already working on Windows.
Fix prepare_warn test

Ignore messages during cursor creation. Messages will be captured by
callback anyway. This however make sure that is cursor is created on
server side client side is aligned and can use cursor.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>