Stock markets close dismal May