Remove socket file when it already exists
Handle GHC exceptions when configuring