Remove duplication in Server, fix rescues

`Process.kill(0, @pid) rescue Errno::ESRCH` will rescue all exceptions
(and then return the class Errno::ESRCH). You need a multiline
begin-rescue-end to rescue only a particular exception.
Merge pull request #36 from alexgenco/server_fixes

Remove duplication in Server, fix rescues