After about three hours of negotiations , the gunman released the hostages after authorities delivered on his request for soft drinks .