(2) The District Judge may pass such order as he thinks fit after hearing the parties, or he may, for reasons to be recorded in writing, refuse to issue any process for compelling the attendance of any witness or the production of any document, if he considers that the petition has been made for the purpose of vexation and delay, and dismiss the petition summarily.