set timeout before new prepare (because .close() don't notify on completion)