Hamas ready to halt attacks