Don't setup readline on run_once mode

Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>
Handle IOError in run_once mode so paging works

Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>